(function(){function m(c){var a=c.currentStyle,d;if(d=a)if(d="both"==a.clear||"left"==a.clear)d=(d=c.nextSibling)&&d.currentStyle&&"left"==d.currentStyle.styleFloat&&"none"==d.currentStyle.clear?!0:!1;d&&(d=document.createElement("div"),d.style.visibility="hidden",d.style.width="0px",d.style.height="0px",c.parentNode.insertBefore(d,c));a&&"inline-block"==a.display&&(c.style.display="inline",c.style.zoom=1);a&&("relative"==a.position&&a.hasLayout&&"0px"!=a.marginTop)&&(c.style.top=a.marginTop);if(a&&
("none"==a.styleFloat&&"block"==a.display&&c.parentNode.currentStyle)&&(a=c.parentNode.currentStyle.display,("inline-block"==a||"inline"==a)&&"HTML"!=c.parentNode.tagName))c.style.display="inline",c.style.zoom=1;c=c.childNodes;for(a=c.length-1;0<=a;a--)m(c[a])}function n(c){var a=c.currentStyle;if(c.style){c.style.zoom=1;if(a&&("auto"==a.height||"auto"!=a.minHeight))c.style.height=a.minHeight;if(a&&("left"==a.styleFloat||"right"==a.styleFloat||"inline-block"==a.display))c.style.zoom=1,c.style.display=
"inline";if("none"==a.styleFloat&&"block"==a.display&&c.parentNode.currentStyle){var d=c.parentNode.currentStyle.display;if(("inline-block"==d||"inline"==d)&&"HTML"!=c.parentNode.tagName)c.style.display="inline",c.style.zoom=1}a&&("left"==a.styleFloat&&"block"==a.display)&&(a=parseFloat(a.marginRight),isNaN(a)&&(a=0),c.style.marginRight=a-3+"px")}c=c.childNodes;for(a=c.length-1;0<=a;a--)n(c[a])}function p(){if("msie"==h.name&&9>=h.version)for(var c=document.getElementsByTagName("LINK"),a=c.length,
d=0;d<a;d++){var b=c[d].getAttribute("href"),f;a:{for(f=0;f<j.length;f++)if(j[f]==b){f=!0;break a}f=!1}if(!f&&(j.push(b),-1==b.indexOf("reset.css")&&-1==b.indexOf("-ie.css"))){a:{f=b.replace(".css","-ie.css");for(var g=document.getElementsByTagName("LINK"),e=0;e<g.length;e++)if(g[e].getAttribute("href")==f){f=!0;break a}f=!1}f||(document.createStyleSheet(b.replace(".css","-ie.css")),j.push(b.replace(".css","-ie.css")))}}}var i="article aside audio canvas command datalist details embed figcaption figure footer header hgroup keygen mark meter nav output progress rp rt ruby section source summary time video".split(" "),
h,b=navigator.userAgent.toLowerCase(),b=/(chrome)[ \/]([\w.]+)/.exec(b)||/(webkit)[ \/]([\w.]+)/.exec(b)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||0>b.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(b)||[],g=b[2]||"0",e=g.indexOf("."),e=g.indexOf(".",e);-1!=e&&(g=parseFloat(g.substring(0,e)));h={name:b[1]||"",version:g};var l;a:{b=document.getElementsByTagName("SCRIPT");for(g=0;g<b.length;g++)if((e=b[g].getAttribute("src"))&&-1!=e.indexOf("browser-compatibility.js")){l=
-1!=e.lastIndexOf("/")?e.substring(0,e.lastIndexOf("/")+1):"";break a}l=void 0}var k={};if("msie"==h.name&&9>=h.version)for(b=0;b<i.length;b++)document.createElement(i[b]);var j=[];p();i=window;b=function(){p();"msie"==h.name&&6==h.version&&n(document.documentElement);"msie"==h.name&&7==h.version&&m(document.documentElement);if("msie"==h.name&&9>=h.version){for(var c=function(a,b){k[b]||(k[b]=0);if(a.rules.length)for(var d=a.rules.length-1;0<=d;d--)a.rules[d].style.behavior="url("+b+")";else k[b]++,
"complete"!=a.owningElement.readyState&&30>k[b]&&setTimeout(function(){c(a,b)},10)},a=document.getElementsByTagName("LINK"),d=0;d<a.length;d++){var b=a[d].getAttribute("href");b&&-1!=b.indexOf("-ie.css")&&(b=b.substring(0,b.lastIndexOf("/")).replace("stylesheets","scripts")+"/PIE.htc",c(a[d].styleSheet,b))}a=document.getElementsByTagName("STYLE");for(d=0;d<a.length;d++)b=a[d],("ie-style-css"==b.title||b.innerHTML&&-1!=b.innerHTML.indexOf("/* lte IE 9 style*/"))&&c(b.styleSheet,l+"PIE.htc")}};i.addEventListener?
i.addEventListener("load",b,!1):i.attachEvent&&i.attachEvent("onload",b)})();